﻿using System;
using FluentNHibernate.Automapping;

namespace Scribble
{
    public class FluentConfiguration : DefaultAutomappingConfiguration
    {
        public override bool ShouldMap(Type type)
        {
            return type.BaseType != null && type.BaseType == typeof (Entity);
        }
    }
}